package ca.jsbr.canvaswar.games.map 
{
	import ca.jsbr.as2js_lib.display.canvas.view.SpriteView;
	import flash.utils.Dictionary;
	/**
	 * ...
	 * @author jsbr [me@jsbr.ca]
	 */
	public class MapDescription 
	{
		private var _assets:SpriteView;
		private var _zones:Dictionary;
		
		private var _width:int = 10;
		private var _height:int = 10;
		
		public function MapDescription(assets:SpriteView) 
		{
			_assets = assets;
		}
		
		
		public function defineAnimation(name:String, start:int, end:int):void
		{
			_assets.defineAnimation(name, start, end);
		}
		
		public function defineZone(name:String, start:int)
		{
			_zone[name] = start;
		}
		
		public function load(path:String):void 
		{
			
		}
		
		public function get width():int 
		{
			return _width;
		}
		
		public function set width(value:int):void 
		{
			_width = value;
		}
		
		public function get height():int 
		{
			return _height;
		}
		
		public function get asset():SpriteView 
		{
			return _assets;
		}
	}

}